package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.entity.ShouldGgatherPay;

public class ShouldCountSearchActivity extends SingleFragmentActivity {

  @Override protected Fragment createFragment() {
    String type = getIntent().getStringExtra(ShouldCountSearchFragment.EXTRA_COUNT_TYPE);
    ShouldGgatherPay query =
        (ShouldGgatherPay) getIntent().getSerializableExtra(ShouldCountSearchFragment.EXTRA_VALUE);
    return ShouldCountSearchFragment.newInstance(type, query);
  }
}
